package entity

import "time"

type Table struct {
	Id         int
	Name       string    `gorm:"type:varchar(50)"`
	UserId     int       `gorm:"column:userId"`
	TableData  string    `gorm:"type:text; column:tableData"`
	CreateTime time.Time `gorm:"type:timestamp;column:createTime"`
	DelStatus  int       `gorm:"type:tinyint;default: 0"`
}

func (Table) TableName() string {
	return "sys_table"
}
